package com.yuntianshi.service;

import com.yuntianshi.common.PageResult;
import com.yuntianshi.pojo.User;

import java.util.List;

/**
 * 后台用户设置接口
 */
public interface UserSettingService {
    public PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    public void add(User user);

    public List<User> findAll();

    public void delete(Integer id);

    public User findById(Integer id);

    public Integer getRoleByUsername(String username);

    public void edit(User user);

    public User findByUserName(String username);

    public void updatePassword(User user1);
}
